<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <!-- IOS中Safari允许全屏浏览： -->
    <meta content="yes" name="apple-mobile-web-app-capable">
    <!-- IOS中Safari顶端状态条样式： -->
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <!-- 忽略将数字变为电话号码： -->
    <meta content="telephone=no" name="format-detection">
    <title>shop-vue</title>
    <style>
      body{
        background-color: #f8f8f8;
      }
    </style>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      window.onresize = function() {
        setHTMLFontSize();
      };
      function setHTMLFontSize() {
        let HTMLWidth = document.documentElement.clientWidth || document.body.clientWidth;
        let HTMLDOM = document.getElementsByTagName('html')[0];
        HTMLDOM.style.fontSize = HTMLWidth / 7.5 + 'px';
      }
      setHTMLFontSize();
    </script>
  </body>
</html>
